package com.testjpa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * 作者: LCG
 * 日期: 2020/5/23 11:34
 * 描述:
 */
@SpringBootApplication
@EntityScan("com.testjpa.entity")
@EnableJpaRepositories("com.testjpa.dao")
public class TestJpaApp {

    public static void main(String[] args) {
        SpringApplication.run(TestJpaApp.class);
    }

}
